package task14;

import work11.Animal;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/13 11:18
 * @description:
 */
public class Cat extends Animal implements Pet,Police {

  @Override
  public void beFriendly() {
    System.out.println("Cat is friendly");
  }

  @Override
  public void play() {
    System.out.println("Cat is playing");
  }

  @Override
  public void speak() {
    System.out.println("miaomiao");
  }

  @Override
  public void catching() {
    System.out.println("抓老鼠");
  }
}
